-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add WatsonX metrics test #985
Add WatsonX metrics test #985
Conversation
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/422__model_serving_llm.robot
Outdated
Show resolved
Hide resolved
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/422__model_serving_llm.robot
Outdated
Show resolved
Hide resolved
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
3f68c94
to
2dee493
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Robocop found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
verified at |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@bdattoma why don't you enable metric in Suite setup. I don't see any harm in that those are cluster wide configuration and having it enable by default will be good idea. |
I thought to have scenarios running without metrics enabled, since users won't be forced to enable them. But yeah I can add it to suite setup, do you mind if we move it there in another PR? this one has been already tested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* add initial test for model metrics Signed-off-by: bdattoma <[email protected]> * add checks for query type and cpu usage Signed-off-by: bdattoma <[email protected]> * remove commented code Signed-off-by: bdattoma <[email protected]> * add kw to protected list Signed-off-by: bdattoma <[email protected]> * add docs and minor fixes Signed-off-by: bdattoma <[email protected]> * add polarion id Signed-off-by: bdattoma <[email protected]> * fix some alerts Signed-off-by: bdattoma <[email protected]> * increase metric check stability Signed-off-by: bdattoma <[email protected]> * fix expected model response Signed-off-by: bdattoma <[email protected]> --------- Signed-off-by: bdattoma <[email protected]>
* add initial test for model metrics Signed-off-by: bdattoma <[email protected]> * add checks for query type and cpu usage Signed-off-by: bdattoma <[email protected]> * remove commented code Signed-off-by: bdattoma <[email protected]> * add kw to protected list Signed-off-by: bdattoma <[email protected]> * add docs and minor fixes Signed-off-by: bdattoma <[email protected]> * add polarion id Signed-off-by: bdattoma <[email protected]> * fix some alerts Signed-off-by: bdattoma <[email protected]> * increase metric check stability Signed-off-by: bdattoma <[email protected]> * fix expected model response Signed-off-by: bdattoma <[email protected]> --------- Signed-off-by: bdattoma <[email protected]>
* add initial test for model metrics Signed-off-by: bdattoma <[email protected]> * add checks for query type and cpu usage Signed-off-by: bdattoma <[email protected]> * remove commented code Signed-off-by: bdattoma <[email protected]> * add kw to protected list Signed-off-by: bdattoma <[email protected]> * add docs and minor fixes Signed-off-by: bdattoma <[email protected]> * add polarion id Signed-off-by: bdattoma <[email protected]> * fix some alerts Signed-off-by: bdattoma <[email protected]> * increase metric check stability Signed-off-by: bdattoma <[email protected]> * fix expected model response Signed-off-by: bdattoma <[email protected]> --------- Signed-off-by: bdattoma <[email protected]>
This PR is adding a test for checking model metrics for WatsonX/Kserve.
The PR checks:
tgi_
,caikit_
andistio_
are present in the Openshift metrics# of inference requests over defined time period
,# of successful inference requests over defined time period
andCPU Utilization
This is a base for the final test which should check that all the expected metrics are present (waiting for a final list) and will check also more derived metrics (_waiting for a final list and their formulas)